package com.itheima;

/**
 * 2025/3/24 21:20
 * 打印三角形
 */
public class LoopPractice2 {
    public static void main(String[] args) {


        int[][] arr = new int[3][];
        System.out.println(arr[0]);
//        int[][] arr = new int[][3];
//        int[][] arr = new int[3][3];
//        int[][] arr = { {1,2}, {3,4,5} };

        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < i + 1; j++) {// i=0;j<1   //i=1;j<2;  //i=2;j<3  //i=3;j<4  //i=4;j<5
                System.out.print("*\t");
            }
            //换行
            System.out.println();
        }
    }
}
